package com.caochenlei.builder;

public abstract class HouseBuilder {
    //创建产品对象
    protected House house = new House();

    //生产产品流程
    public abstract void buildGround(); //1.打地基
    public abstract void buildWall();   //2.砌墙面
    public abstract void buildRoofed(); //3.盖楼顶

    //返回产品对象
    public House getResult() {
        return house;
    }
}
